Code Monkey home page Code Monkey logo

reverseform's People

Contributors

mtymek avatar remithomas avatar seyfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reverseform's Issues

Closure in module config will cause fatal if config cache is enabled

instead of putting it to module.config.php you can move all closures into Module.php or seperate Factory class which implements FactoryInterface.

in that case application with your module will be able to cache configuration and factories with closures will be loaded in your Module.php

CheckBox does'nt work with formCollection() !

Warning: Invalid argument supplied for foreach() in vendor/silvester/reverse- form/view/element/bootstrap/checkbox.phtml on line 24

My element annotations

/**
     *
     * @Annotation\Type("Zend\Form\Element\Checkbox")
     * @Annotation\Options({"label":"Remember Me ?:"})
     *
     */
    public $rememberme;

jquery resource not found

Hi,

I install it, and almost it works, I only had to do add the slash "" before the path to the "ReverseForm":

$form = new \ReverseForm\Form\TestForm();

But the jQuery isn't loading because I don't have it installed yet in my vendor folder. I'm wondering how to add the jquery to the vendor folder with the same structure you did or I have to do it manually?

Thanks

inlineJsConfig

Hi I want to overwrite inlineJsConfig from module.config.php file in my controller.
Basicaly what i want to do is to overwrite some options:
'ReverseForm\Element\GoogleMap' => array(
'js' => array(
'https://maps.google.com/maps/api/js?sensor=false&region=SI'
),
'template' => 'googlemap.phtml',
'inlineJs' => "var map = new google.maps.Map(document.getElementById('%1$s'), %2$s);\n$('#%1$s').data('map', map);\n",
'inlineJsConfig' => array(
'zoom' => 8,
'mapTypeId' => new \Zend\Json\Expr('google.maps.MapTypeId.ROADMAP'),
'center' => new \Zend\Json\Expr('new google.maps.LatLng(46.15, 14.9)')
)
)

here i want to overwrite 'zoom' and 'center' and also to add new vars in my controller. Can you help me with a hint or a piece of code?

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.