@paul

@paul

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Smart Card View #101771
    paul
    Member

    Yavor, it worked great. I really appreciate your help.
    I have another issues:

    1. 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.
    2. I want to validate a field on window and display a message if an error occur.
    3. When I add a new card it is not automatically displayed on smart-card. Only after refresh. I get some data from database.
    4. If I have only one card then the width is too big.

    Thanks,
    Paul

    in reply to: Smart Card View #101764
    paul
    Member

    Hi Yavor,
    It worked fine, but now I have two issues.

    1. 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.
    2. I add a checkbox. When I unselect, it remain blue color until I move to another input.

    Thanks.

    in reply to: Smart Card View #101741
    paul
    Member

    Hi Yavor,
    Thanks. It worked like a charm. You’re the best.
    I have another questions.

    1. 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?

    2. 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,
    Paul

    in reply to: Smart Card View #101732
    paul
    Member

    Hi 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.
     
     

    in reply to: Smart Card View #101712
    paul
    Member

    Thanks 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”>

Viewing 5 posts - 1 through 5 (of 5 total)