Added place holder to auto generated element#2
Added place holder to auto generated element#2ahmadalibaloch wants to merge 1 commit intoNewstex:masterfrom
Conversation
Before this edit we can add placeholder-value to custom fields but using the ui list input with an auto-generated text element did not allow to add a placeholder simply because the auto generated element template was not complete with a placeholder. Now after edit a user can add a placeholder attribute like in any HTML input in the main div beside ng-model attribute.
|
Thanks for the pull request, I hope the directive has been useful to you. Can you add tests covering the various ways that a placeholder might be specified? For example: placeholder="Full Name"
placeholder="{{fieldName}}"
placeholder=""Nickname""This approach does not seem like the right way to expose the placeholder for general-purpose use. |
|
Well, the placeholder can be added just like we add a placeholder or any so you can add a placeholde attribute to the div as Thanks. On Mon, Oct 20, 2014 at 5:04 PM, Ian Paterson notifications@github.com
Ahmad Ali, Software Engineer www.expertflow.com Lahore, Pakistan Mobile: +92344***940 | *Email: ahmad.ali@expertflow.com | Skype: |
Before this edit we can add placeholder-value to custom fields but using the ui list input with an auto-generated text element did not allow to add a placeholder simply because the auto generated element template was not complete with a placeholder.
Now after edit a user can add a placeholder attribute like in any HTML input in the main div beside ng-model attribute.