Search found 32 matches

by drodriguez
Thu Aug 16, 2018 5:29 pm
Forum: General issues
Topic: [SOLVED] form inside dialog box
Replies: 2
Views: 30

Re: form inside dialog box

Hi. No test but
for most browsers the default type of button is submit.

try set button close to 'type=button'
and let me know.
by drodriguez
Thu Aug 02, 2018 8:39 pm
Forum: Vue
Topic: Form Validator + Vue.js 
Replies: 1
Views: 128

Re: Form Validator + Vue.js 

update my code and work :)

data-on-validate-form="app.submit" //app is vue instance and submit is a method)
by drodriguez
Thu Aug 02, 2018 3:40 pm
Forum: Vue
Topic: Form Validator + Vue.js 
Replies: 1
Views: 128

Form Validator + Vue.js 

How can i combine Form Validator + Vue.js?

if form is invalid
fire data-on-error-form event
but also fire submit button v-on:click (wrong)


the submit button v-on:click only must fire when Form Validator is valid.


codepen test: https://codepen.io/drodriguez/pen/PBebgV

thanks
by drodriguez
Wed Aug 01, 2018 10:54 pm
Forum: Requests
Topic: overflow styles
Replies: 0
Views: 109

overflow styles

for overflow...

like other utilities (example: c-pointer)


.of-scroll {
overflow: scroll;
}

.of-hidden {
overflow: hidden;
}

.of-auto {
overflow: auto;
}

.of-visible {
overflow: visible;
}

edit: changed overf- x of-
by drodriguez
Thu Jul 26, 2018 11:38 pm
Forum: Components
Topic: popver with html content
Replies: 0
Views: 106

popver with html content

Hi... can i do a popover with html content like https://codepen.io/diqidoq/pen/RRojxQ I tried but not work with Metro... I want to do something like https://www.expedia.com/ when click Travelers option Other observation: (it's a personal observation) i think Metro could be change the popover after s...
by drodriguez
Thu Jul 26, 2018 11:12 pm
Forum: Requests
Topic: Number Spinner
Replies: 0
Views: 96

Number Spinner

Hi...

i suggest new feature: "Number Spinner" ... like https://bootsnipp.com/snippets/featured ... click-hold

properties:
* minValue (optional)
* maxValue (optional)
* step (1 by default)

methods:
* getValue
* setValue

Thanks a lot
by drodriguez
Mon Jul 23, 2018 8:37 pm
Forum: Requests
Topic: Mask Input
Replies: 1
Views: 98

Mask Input

This requirement is not really a requirement (I do not know if Metro plans to do so in the future) It's a general question to Metro and community... Which mask plugin they usually use for the formats in the textbox: currency, only numbers, credit cards, etc.? I used https://github.com/digitalBush/jq...
by drodriguez
Fri Jul 20, 2018 11:56 pm
Forum: General issues
Topic: calendarpciker data-on-change fire twice
Replies: 2
Views: 117

Re: calendarpciker data-on-change fire twice

thanks...
the code
onDayClick: function(sel, day, el){
var date = new Date(sel[0]);....


is at https://cdn.metroui.org.ua/v4/js/metro.js line 5791 and i dont know how tell to Metro fire event once.
by drodriguez
Fri Jul 20, 2018 11:28 pm
Forum: General issues
Topic: calendarpciker data-on-change fire twice
Replies: 2
Views: 117

calendarpciker data-on-change fire twice

html calendarpicker: <input id="date" type="text" data-role="calendarpicker" data-validate="required" data-size="200px" data-show-header="false" data-show-footer="false" data-format="%d/%m/%Y" data-years-before="0" data-min-date="2018/07/21" data-on-change="dateChange()" > custom dateChange() event ...
by drodriguez
Fri Jul 20, 2018 6:08 pm
Forum: Components
Topic: calendar set minDate and maxDate dynamically
Replies: 2
Views: 124

calendar set minDate and maxDate dynamically

How can i change minDate and maxDate dynamically by javascript? HTML: <input id="calendar" type="text" data-role="calendarpicker" data-validate="required" data-size="200px" data-show-header="false" data-show-footer="false" data-format="%d/%m/%Y" data-years-before="0"> I tried: $('#calendar').data('c...