@paul
@paul
Forum Replies Created
-
AuthorPosts
-
paulMember
Yavor, it worked great. I really appreciate your help.
I have another issues:- I want do not display an input and label from a card. I tried something with formatSettings from columns, but it`s not working. I want this input to be visible only on window.
- I want to validate a field on window and display a message if an error occur.
- When I add a new card it is not automatically displayed on smart-card. Only after refresh. I get some data from database.
- If I have only one card then the width is too big.
Thanks,
PaulpaulMemberHi Yavor,
It worked fine, but now I have two issues.- I tried to get date from datePicker. Because I got a timestamp (may I got exactly format: MM/dd/yyyy?), I tried to format it, but I got current date. I checked on smart-date-time-picker and I found that I have date+time even if I select a date (without time). Maybe here is the issue.
- I add a checkbox. When I unselect, it remain blue color until I move to another input.
Thanks.
paulMemberHi Yavor,
Thanks. It worked like a charm. You’re the best.
I have another questions.- I want to get all values from window fields. I tried with:
Array.from(document.querySelectorAll('smart-input')).forEach((element, index) => { const eventFieldType = element.getAttribute('aria-label'); if (eventFieldType === EVENT_FIELD.TYPE) { type = element.value; } if (eventFieldType === EVENT_FIELD.LOCATION) { location = element.value; } if (eventFieldType === EVENT_FIELD.DESCRIPTION) { description = element.value; } });
Is that ok or there is a better solution?
- In your example at smart-card you have on window only input text and date fields. I want a dropdown instead of one input text. How can I do that?
Thanks,
PaulpaulMemberHi again Yavor,
I followed your example with footerTemplate, but it doesn’t work. I got a window with no buttons (smart-footer is blank).
And another question. How to create different custom buttons on add new card window? (different from edit window).
Thanks.
paulMemberThanks for the prompt and quick reply
I used this example: https://www.htmlelements.com/docs/cardview/#angular
The icons are not displayed. No errors in console.
I found this: <div class=”smart-card-view-label icon birthday” data-field=”birthday”> -
AuthorPosts