Is it possible to set up text placeholder for textareas without querying the DOM and applying it manually?
Could you, please describe your case in more details? Also, any examples/screenshots will be appreciated
When I have a text field like this:
I want to have some text inside it while the user has not filled it yet, like when using standard placeholder attribute on an input field:
Thank you for your specification.
You need to define "placeholder" property for your element in the diff array. Please, see my example for JobTitle field in the ContactPageV2 schema:
You can also find other examples in the base packages.
Thank you very much, it works nicely.
where i have to write my input value?
1)Or enter the string resource on the page or enter directly (2nd option)
Localized strings and images are the resources of the client schema that are most often used in the implementation logic of the module.
Add resources to the client schema in the [Structure] tab of the client schema designer. The application core automatically generates a special [Client module name]Resources module, which contains resources of the client module. The localizableStrings property stores schema's localized strings. The images property stores image resources.
In order to access a resource module from a client module, you need to import the resource module as a dependency into the client module.
Use resource string:
"placeholder": "I'am empty"
I need apply a style to the left container but don't know who.
The idea is have the label and control align to left on all controls of the container.
Any style to apply this??
Please find the answer on how to add a custom style to a page in the article by the link below.
Thanks Eugene Podkovka, exist a sample on the system to inherit?
It's not possible to inherit styles.