Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    requiredRightTitlePrefix

    We would like to ask why requiredRightTitlePrefix is set to "<b>" instead of having a separate styling for required fields. This is 100% a styling property and it should be removed from the dynamic form property.

    #2
    The ability to prepend / append arbitrary HTML prefix and suffix onto the required title is a nice feature to have, and has long been used to apply the bold styling (via HTML).

    In the future we may rework the bold title styling for required fields to be handled via a separate CSS style, explicit additive css-text, or similar. Certainly we'll take this recommendation on board, and if we do make a change to this we'll be sure to update this thread to let you know.

    If this is actually impacting your application in some way (limiting the available functionality, etc), please let us know.

    Regards
    Isomorphic Software

    Comment


      #3
      We would like to as much as possible only have our clients touch the css to modify styling issues instead of having to define it at the dynamic form level - in this way their application need not be modified in order to show a different look-and-feel.

      This is not a showstopper for us obviously but please do let us know when this becomes available.

      Comment


        #4
        Already available - in your skin, set the prefix/suffix to blank and move the styling to the titleStyle instead.

        Comment


          #5
          This would require us to go through every mandatory field and set the titleStyle, no?

          Comment


            #6
            Not necessarily. You could override 'getTitleStyle' at the FormItem level to return a custom css style if the item is required, and ensure the css you load includes that style.

            Comment

            Working...
            X