Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
7115542f
Commit
7115542f
authored
Sep 18, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.0.3.1 formset float field fix
parent
c4db7f46
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
form_service.js
app/zetalib/forms/form_service.js
+4
-1
app.js
dist/app.js
+1
-1
No files found.
app/zetalib/forms/form_service.js
View file @
7115542f
...
...
@@ -41,6 +41,9 @@ form_generator.factory('Generator', function ($http, $q, $log, $location, $modal
return
formObject
;
};
generator
.
prepareFormItems
=
function
(
scope
)
{
/**
* prepareforms checks input types and convert if necessary
*/
angular
.
forEach
(
scope
.
schema
.
properties
,
function
(
k
,
v
)
{
// check if type is date and if type date found change it to string
...
...
@@ -61,7 +64,7 @@ form_generator.factory('Generator', function ($http, $q, $log, $location, $modal
});
}
if
(
k
.
type
==
'int'
)
{
if
(
k
.
type
==
'int'
||
'float'
)
{
k
.
type
=
'number'
;
}
...
...
dist/app.js
View file @
7115542f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment