Comments (6)
Yes I have the same issue. Fields end up showing up one by line.
It happens quite often on the 2dev6. But I do find a way to fix it without going to the DB. It just take some time to resize field to their very minimum size.
from dynamictextgroup.
I also get this sometimes with 2.0dev6, but not always.
from dynamictextgroup.
this is still happening to me with 2.3.1 and dtg 3.0
from dynamictextgroup.
I'm not able to replicate this in any webkit browser. Could you guys let me know what you are using? Does this appear to be happening server-side or client-side?
Might be easier if we can peek at the schema object from the browser. Could you do the following and let me know if you see any funkiness happen, and if so, what you were doing when it happened:
Change line 65 in field.dynamictextgroup.php from
//$tblocks .= '<span>'.$this->get('schema').'</span>';
to
$tblocks .= '<span id="schemaspill">'.$this->get('schema').'</span>';
and then change line 97 in assets/dynamictextgroup.fieldeditor.js from
if (schematic[0]) { _f.val(JSON.stringify(schematic)); } else { _f.val(''); }
to
if (schematic[0]) { _f.val(JSON.stringify(schematic)); $('#schemaspill').text(JSON.stringify(schematic)); } else { _f.val(''); }
This will have JS spit out the field editor object so you can see what's going on.
from dynamictextgroup.
Also, if one of you manages to take a crack at this locally and finds a solution, I'll happily pull your fix.
from dynamictextgroup.
i'm having trouble replicating it as well. i fixed it by changing the width values in the database per mark lewis's suggestion, and now i can't seem to screw it up again.
from dynamictextgroup.
Related Issues (15)
- Required field weirdness HOT 6
- Validation errors HOT 2
- Drag handle in field settings HOT 4
- Numeric validation errors on use of Zero "0" HOT 7
- Multiple Instance HOT 4
- schema char limit
- Development branch, 2.3? HOT 6
- Renaming doesn't update element_name
- Unkown Column allow multiple HOT 1
- Referene to a missing js file in the code HOT 11
- Error on 2.3.2
- 'Add field' button doesn't work on 2.3.2
- Error with 2.3.3 Unknown column 'allow_multiple' in 'field list' HOT 1
- Adding Textarea to the list of fields? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamictextgroup.