Our pure JavaScript Scheduler component


Post by pedro rodriguez »

Hi!! Im looking to implement the inline label feature of your components/widgets into the event editor, but reading the docs for the widget elements i only found "labelPosition" or "labelWidth" as configuration options for the widgets.
Is there a way of implementing those or should i just take the "above" label version of the widget label?
Thanks!!


Post by alex.l »

Hi pedro rodriguez,

Did you mean https://bryntum.com/docs/gantt/api/Core/widget/TextField#config-placeholder ?
If not, please attach some picture to clarify.

All the best,
Alex


Post by pedro rodriguez »

The desired outcome of the eventEditor input fields placeholder would be the same as the example of the text field component where the placeholder/label moves above the field, for now I just found the way of placing the label/title of the inputs above them statically.
I was wondering if Im missing some config key to replicate the example, something like inlineLabel = true to activate the dynamic placeholder, but i just found the labelPosition key to modify the position of the label and remove the duplications between the placeholder and label.
Thanks!

Attachments
Screenshot 2022-10-06 at 10.41.36.png
Screenshot 2022-10-06 at 10.41.36.png (55.12 KiB) Viewed 109 times
Screenshot 2022-10-06 at 10.40.57.png
Screenshot 2022-10-06 at 10.40.57.png (16.11 KiB) Viewed 109 times
Screenshot 2022-10-06 at 10.40.44.png
Screenshot 2022-10-06 at 10.40.44.png (15.67 KiB) Viewed 109 times

Post by alex.l »

Great to hear you found the way!

All the best,
Alex


Post Reply