Coder Social home page Coder Social logo

Comments (6)

oldlastman avatar oldlastman commented on June 16, 2024

maybe its related with panel attribute?
i just put
<ps-tab label="test" id="tab_base" icon="icon-AdminParentModules" img="../img/t/AdminBackup.gif" fa="cogs" panel="false">
and swtich works
but select not work

from prestui.

Scritik avatar Scritik commented on June 16, 2024

Hi @oldlastman,

The panel attribute is just here to wrap the content into a panel. Are you sure that you content is in a form (like specified in the doc)?

from prestui.

oldlastman avatar oldlastman commented on June 16, 2024

hi! thanks for your answer
yes i'm using form tag

this is an full example
sorry code not show all tags
http://pastebin.com/8UTfVNgN

< ps-panel >
	< form class="form-horizontal" name="module_form" method="post" action="">
< ps-tabs position="left">
    < ps-tab label="Tab 1" active="true" id="tab1" icon="icon-AdminParentModules" img="../img/t/AdminBackup.gif" fa="cogs">
			< ps-switch name="switch" label="Switch" yes="Yes" no="No" active="true">< /ps-switch>
			< ps-select label="Select input" name="ps_select" chosen="true">
					< option value="testito">testito< /option>
					< option value="test2">test2< /option>
			< /ps-select>
    < /ps-tab>
    < ps-tab label="Tab 2" id="tab2" icon="icon-AdminParentModules" img="../img/t/AdminBackup.gif">
			< ps-switch name="switch2" label="Switch2" yes="Yes" no="No" active="false">< /ps-switch>
			< ps-select label="Select input2" name="ps_select2" chosen="true">
					< option value="testito3">testito3< /option>
					< option value="test4">test4< /option>
			< /ps-select>
    < /ps-tab>
    < ps-tab label="Tab 3" id="tab3">
        // content 3
    < /ps-tab>
< /ps-tabs>
< ps-panel-footer>
		< ps-panel-footer-submit title="Guardar cambios" icon="process-icon-save" direction="right" name="submitAtt_UserGroupAssignModule">< /ps-panel-footer-submit>
< /ps-panel-footer>
< /form>
< /ps-panel>

if i put:

  • tab "panel" attribute to false
  • just one select "chosen" attribute=true and others as false
    it looks all work well,
    i'm mess up all tags.. or some behavior it's not fine tuned?

thanks

from prestui.

Scritik avatar Scritik commented on June 16, 2024

Sorry for the delay. Do you still have the issue? I will try to keep a look at this asap.

Also, I just made a PR with Riot 3 support, if you want to give it a try. It took me longer than expected but it's finally here.

from prestui.

Scritik avatar Scritik commented on June 16, 2024

I found the issues @oldlastman!

It was not your code and fixed both on the riot3 PR if you want to take a look at it.

from prestui.

Scritik avatar Scritik commented on June 16, 2024

I merged the PR, and will release a new version asap. Please use this new version, with Riot3.

from prestui.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.