I want to have my dojo dijit.form.timetextbox disabled but the last set value still displayed.
If I set the disabled attr to true the field is disabled but the value is gone. Is there any other way?
dijit.byId('form_endtime').set('disabled', true);
I am using Dojo 1.6
As I found this is only a problem on Chrome
Related
In my app I using tinymce plugin for adding some files from local machine - link plugin. And it works great, but, there is one section - target, that I want to hide from users.
Because I'm just using '_blank' as default and type 'none' make some troubles.
In documentation I can't find option for hide this section. So I try to hide this by css. Unfortunately id and classes are dynamic, so it was bad idea with css 'display:none'.
It's possible to hide this section somehow?
You can remove the target list altogether by placing this in your TinyMCE configuration:
target_list: false
That is documented here: https://www.tinymce.com/docs/plugins/link/#target_list
To disable the option dialog set target_list to false
I need to set a default dialog value in AEM component.
For example - I have dialog with node - namelabel
and I am fetching this in my html as
${properties.namelabel}
Now I want to set the default value to this node property, ie when I am editing a dialog there is always a value set as
namelabel : Name
where in author can change this anytime he wants.
Thanks in advance.
in short - you could use property value which is presented as the default value in touch dialog.
your question is though a sort of duplicate of what's been said here: defaultValue in Touch UI dialogs - AEM/CQ
I'm trying to validate an input field which is 'disabled' when the page loads, but it will, somehow, become visible and editable.
I excluded [disabled] from parsley, but when I'm trying to refresh constraints on that field, nothing is working. I tried to call addValidation() when the field appears but no success.
Is there any method to do this? I can't destroy the form (that's not working either).
Found out how to do this.
Just call _refreshFields() on your form.
$('form').parsley()._refreshFields()
I have added a checkbox in vsfolderdialog.wiz file for customizing Folder Path dialog in Setup and Deplopyment Project. But i have not an idea how i will get its value on which i have to take some decisions.
Note: I am using custom installer action for accessing its value and tried to get Installer.Context.Parameters on Install event
Please help me in this regard.
Regards,
Jhan Zaib
Checkbox Control in Windows Installer is associated with a property. Usually when checkbox is selected, its associated property will have the value you defined; when it's cleared, the property is set to null.
How can I disable tinyMCE?
I'm not trying to make tinyMCE not exist, just trying to disable the field temporarily using PrototypeJS's Form.disable.
Is there a particular way to mark a field disabled for editing?
One option is to use the plugin 'noneditable'
Or you could investigate the 'mode: exact' setting and only setting it on the exact id of the form field you want to control.
Your use case isn't really clear, so hope the above tips work.